package mx.service;

import java.util.List;


import java.util.Map;

import mx.entity.Advert;

/**
 * 广告
 * 
 * @author Gray-bird
 * 
 */
public interface AdvertService {

	public Advert findById(Integer id);

	public List<Advert> list(Map<String, Object> map);

	public Long getTotal(Map<String, Object> map);

	public int add(Advert advert);

	public int delete(Integer id);

	public int update(Advert advert);
}
